Implementing the edit function but the FileHandler is incomplete