def METHOD_NAME(file_path):
    """Load rules file from local path.
    Args:
      file_path (str): The path to the file.
    Returns:
        dict: The parsed dict from the loaded file.
    """
    with open(os.path.abspath(file_path), 'r') as rules_file:
        parser = _get_filetype_parser(file_path, 'file')
        return parser(rules_file)