import json


def read_database_settings_file(file_path):
    """ Reads the content of the database settings file and returns an object. """

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

    return (False, {})