Loading a directory and renaming the filename.