Editing lab files