fixed get_file_path if reporting is used