created hash map generator for file renaming