from typing import Optional
from typing import Dict
import json


def load_result_file(eval_file) -> Optional[Dict]:
    """Loads the results data from a submitted file.
    
    If the file cannot be read, returns None.
    
    """

    try:
        with open(eval_file, 'r') as f:
            result = json.load(f)
            return result

    except Exception:
        return None