in reply to interactive user interface

Additionally, if there is any chance that you can or are allowed to do so, take the filename from the command line. These really makes your software much easier to use (thanks to shell completions) and automate (thanks to command line). It would be even better, if you could read the file from STDIN, instead of asking for the path to it. Pipes are wonderful in Unix, you know. :)

Leonid Mamtchenkov