Modify a file