Edit file content