Simple method to generate posts from files
I have an application that runs locally on my computer. It parses a large database of many gigabytes and generates several dozen HTML files. I would like to publish these files on a WordPress site. How can this be done in a simple way, without creating a few dozen posts by hand?
My application outputs text files. Now it outputs files formatted as HTML. Actually, these files can be in any format, not necessarily HTML, for example, Markdown or some other. I need to upload them to the site and create posts or articles from them.