[rest]: Correctly rename [write( to [file(.