def METHOD_NAME(filename):
    """returns the fields found in the given file"""
    if not checkShapeFileLibrary():
        return
    import shapefile
    shp = shapefile.Reader(filename)
    return [field[0] for field in shp.fields]