from pathlib import Path


def list_of_files(tmpdir_factory):
    """Create a dummie list of files for s3 list objects by date."""
    tmp_file = tmpdir_factory.mktemp("tmp").join("temp_text_file_1.txt")
    tmp_file2 = tmpdir_factory.mktemp("tmp").join("temp_text_file_2.txt")
    tmp_file3 = tmpdir_factory.mktemp("tmp").join("temp_text_file_3.txt")

    for file in [tmp_file, tmp_file2, tmp_file3]:
        file.write_text("botree test!", encoding="utf-8")

    return [Path(tmp_file), Path(tmp_file2), Path(tmp_file3)]