Finally this damn thing sort of works. Streams are a pain sometimes.
We don’t need file argument in CLI.
Added a bunch of cases to the heading mapper to catch different file types.