update description of file-to-string
remove duplicate function op/generate-file