The function list_all_files_with_extension deletes zip files that it encounters. It is better to expand to some temporary file or read directly from a stream.
From the feedback of Sheean:
I'm not quite sure if it's ideal to change the input directory, by unzipping the zip-files and deleting them. Ideally they could be expanded to some temporary file or read directly from stream.
The function list_all_files_with_extension deletes zip files that it encounters. It is better to expand to some temporary file or read directly from a stream.
From the feedback of Sheean: I'm not quite sure if it's ideal to change the input directory, by unzipping the zip-files and deleting them. Ideally they could be expanded to some temporary file or read directly from stream.