def temp_tree_structure2(tmp_path):
    """Temporary dirs+files with dirnames and filenames that typically exists:
    Creates temporary directories and files:
        maindir/
         |-- 2020-08/
         |    |-- Repaired_2182_Q1_Q4/
         |    |    |-- series_201406_corrected_A.xml
         |    |-- HDSR_CAW_202004010250.xml
         |    |-- 20191030_HistTags.csv
         |-- HistTagLijst/
         |    |-- 20200722_DebietFormuleInstellingen.csv
         |-- 20200803101158_HDSR_PS0140_Waterlevel.jpg
    """
    # create temp dirs
    maindir = tmp_path
    subdir1 = maindir / "2020-08"
    subdir1.mkdir()
    subdir2 = maindir / "HistTagLijst"
    subdir2.mkdir()
    subsubdir1 = subdir1 / "Repaired_2182_Q1_Q4"
    subsubdir1.mkdir()

    # fill temp dirs with temp files
    maindir_file1 = maindir / "20200803101158_HDSR_PS0140_Waterlevel.jpg"
    maindir_file1.write_text("im a jpg file")

    subdir1_file1 = subdir1 / "HDSR_CAW_202004010250.xml"
    subdir1_file1.write_text("im a xml file")

    subdir1_file2 = subdir1 / "20191030_HistTags.csv"
    subdir1_file2.write_text("im a csv file")

    subdir2_file1 = subdir1 / "20200722_DebietFormuleInstellingen.csv"
    subdir2_file1.write_text("im a csv file")

    subsubdir1_file1 = subsubdir1 / "series_201406_corrected_A.xml"
    subsubdir1_file1.write_text("im a xml file")

    return tmp_path