Added functionality to load both directories and files and automatically...
Added functionality to load both directories and files and automatically assign them to source or shadow based on code in paths present. Might want to add codes for sources as well.