Move files to directories.