Transfer files to directories.