why do you need to return a pair? `False` is always paired with `None`: wouldn't it suffice to have a `get_prediction_id` function that returns `None` if the file is not there yet?