added competition_id in file saving replays function