import json


def config_handle() -> str:
    """This function opens a json file
       ,which is a configuration file, in
       read mode. The contents of this
       configuration file is a dictionary
       containing api keys and system file
       paths. This dictionary is accessed
       from the file and stored under the
       variable 'data_file' which is returned
       at the end of the function."""

    #Opening JSON File
    #Storing contents of file under variable
    with open("config.json", "r") as file_details:
        data_file = json.load(file_details)
    return data_file