close file on trial