def read_result_from_file(fpath, fail_silently=True):
    """
    Reads a single floating-point result from a file
    """
    if not fpath.exists() and fail_silently:
        return None
    
    with open(fpath, 'r') as infile:
        return float(infile.read().strip())