Trying to modify a file