def METHOD_NAME(pyfile):
    text1line = ''
    textMline = ''
    comment = ''
    b2a = 0.52917720859
    efpCoord = re.compile(r"\s*COORDINATES\s+\(BOHR\)\s*")
    efpAtomSymbol = re.compile(r"^\s*A\d*([A-Z]{1,2})\d*")
    pastComment = False
    ffrag = open(pyfile, 'r')
    contents = ffrag.readlines()
    ffrag.close()
    atoms = []
    ii = 0
    while (ii < len(contents)):
        line = contents[ii]
        if efpCoord.search(line):
            pastComment = True
        if ii > 0 and not pastComment:
            comment += '   ' + line
        if 'STOP' in line:
            break
        if efpAtomSymbol.search(line):
            sline = line.split()
            atoms.append([efpAtomSymbol.search(line).group(1), 
                float(sline[1]) * b2a, float(sline[2]) * b2a, float(sline[3]) * b2a])
        ii += 1
    text1line += str(len(atoms)) + r"""\ncomment\n"""
    for atom in atoms:
        text1line += r"""%-6s %12.6f %12.6f %12.6f\n""" % (atom[0], atom[1], atom[2], atom[3])
        textMline += """   %-6s %12.6f %12.6f %12.6f\n""" % (atom[0], atom[1], atom[2], atom[3])
    return text1line, textMline, comment