Fix main.cpp to also accept files, not just stdin.