@classmethod<EOL><INDENT>def from_string(cls, content, position=<NUM_LIT:1>, file_id=None):<DEDENT>
if file_id is None:<EOL><INDENT>file_id = '<STR_LIT>'<EOL><DEDENT>return cls(FileMetadata(file_id, position), content)<EOL>
Convenience method to create a file from a string.

This file object's metadata will have the id 'inlined_input'.

Inputs
------
content -- the content of the file (a string).
position -- (default 1) rank among all files of the model while parsing
    see FileMetadata
file_id -- (default 'inlined_input') the file_id that will be used by
    kappa.