renaming files and first pass at priority queue