<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stmts_to_json_file(stmts, fname):
 """Serialize a list of INDRA Statements into a JSON file. Parameters stmts : list[indra.statement.Statements] The list of INDRA Statements to serialize into the JSON file. fname : str Path to the JSON file to serialize Statements into. """

    with open(fname, 'w') as fh:
        json.dump(stmts_to_json(stmts), fh, indent=1)