def METHOD_NAME(outfile, qaresult):
    """Write QL output files
       Args:
           outfile : str
             filename to be written (yaml)
           qaresult : dict
             QAresults from run_qa()
       Returns:
           outfile : str
    """
    #import yaml
    #from desiutil.io import yamlify
    # Take in QL input and output to yaml
    #SE:  No yaml creation as of May 2018
    qadict = yamlify(qaresult)
    #f=open(outfile,"w")
    #f.write(yaml.dump(qadict))
    #f.close()
    g=open(outfile,"w")
    json.dump(qadict, g, sort_keys=True, indent=4)
    g.close()
    return outfile