Altered consolidation script to include freq in filenames