```var f = file.load({id: file_id}); f.contents = ...
# suitescript
j
Copy code
var f = file.load({id: file_id});
f.contents = 'my new text';
f.save();