Seperate the input in generate report function from the parsing of th…
Created by: cschloer
…e file
@arezas Will you confirm that you are still able to run the report generator locally after this change?
I need the input part separated from the actual parsing of the file so I can call this function from somewhere else (passing in a file object instead of a string for path)