My question was closed as "off-topic", I'm trying to understand why. Its message shows:
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. Edit the question so it can be answered with facts and citations. You can edit the question or post a new one.
But there seem to be a gazillion SO questions asking for the correct way to parse a file format, or for the correct way to use a common library.
Why is asking for the algorithm / code / approach / library to solve this particular programming challenge unreasonable?