Extract file manipulation out of EditPerson