add option of multiple tries for each frequency/file. in progress. temporary save