Fixed check_file_measurement method in pts_database_t