pub fn handle(action: Action) -> Result<()>
Handle the edit action
Will return an error if the file cannot be read or written to