is results_file actually used in the function?