def METHOD_NAME(filename):
    """This function reads username and password from creddentials.json
    Arguments:
    filename: name of the file which stores the credentials
    :return: returns the credentials
    """
    with open(filename) as f:
        credentials = json.load(f)
    return credentials