def METHOD_NAME(fileinfo): # specify file
    # Accept a file name or a file descriptor; make sure mode is 'rb' (read binary)
    fd = open(fileinfo, mode='rb')
    text = fd.read()
    tris = [] # list of triangles to compound
    keywords = [b'outer', b'endloop', b'endfacet', b'solid', b'endsolid']
    if False: # prevent executing code for binary file
        pass
    # The following code for binary files must be updated: