def parse_filename(filename):
    #                    time_tag=TIME_INFOLDER_TAG,
    #                    time_fmt=TIME_INFILE_FMT,
    # ):
    """Parse Hive and RPi number from filename.

    Filename e.g.:  raw_hive1_rpi1_190801-000002-utc.jpg
    """
    prefix, hive_str, rpi_str, t_str = filename.split("_")
    hive = int(hive_str[-1])
    rpi = int(rpi_str[-1])

    return hive, rpi