renaming files, using closest, pulling from freshymap once and storing data locally