def butler(table_data):
    try:
        with open(CONFIG_PATH) as config:
            movie_path = config.read()
    except IOError:
        print(Fore.RED, "\n\nRun `$moviemon PATH` to "
              "index your movies directory.\n\n")
        quit()
    else:
        table = AsciiTable(table_data)
        try:
            with open(movie_path + ".json") as inp:
                data = json.load(inp)
            return data, table
        except __HOLE__:
            print(Fore.YELLOW, "\n\nRun `$moviemon PATH` to "
                  "index your movies directory.\n\n")
            quit()
dataset/ETHPy150Open iCHAIT/moviemon/moviemon/moviemon.py/butler