check for correct_file_names before getting r1, r2