def load_any_file(filename):
    """
    Attempts to load filename by trial-and-error

    Returns:
        file: A DataFile descendant, whose specific class depends on the file format detected, or None
        if the file canonot be loaded
    """
    import f311

    # Splits attempts using ((binary X text) file) criterion
    if a99.is_text_file(filename):
        return load_with_classes(filename, f311.classes_txt())
    else:
        return load_with_classes(filename, f311.classes_bin())
Attempts to load filename by trial-and-error

    Returns:
        file: A DataFile descendant, whose specific class depends on the file format detected, or None
        if the file canonot be loaded