made file-output names match requirments