adding subdirectories and a variety of file types