import json


def read_secret_file(file_path):
    """ Reads the content of the secret file and returns the secret key. """

    with open(file_path, 'r') as secret_file:
        content = secret_file.read()
        obj = json.loads(content)
        return obj['secret_key']

    print('Secret key faile failed to open!!')
    return ''