If you are building a web *site* - with hundreds of pages linked to each other with a common theme and some variety of back-end data store, then the steep learning-curve of any of the frameworks would be well worth the investment.
If you want to build a single web *page* where you feed it a file, it processes the data in some way, and produces an HTML report, I can see no good reason not to use something on the order of complexity of CGI.