def METHOD_NAME(py_file):
    """Extract the doc() definition from index.py file"""
    with open(py_file, 'r') as f:
        doc_file = f.read()
        exec(doc_file)
        return doc_return_value