Moving tv_record_file from matchs to maps