def METHOD_NAME(filename: str) -> Optional["LogType"]:
    if filename == "antares-err.log":
        return LogType.STDERR
    elif filename == "antares-out.log":
        return LogType.STDOUT
    else:
        return None