modify a file content