Minor change to allow input filename to be passed as argument, makes it easier to test several inputs at several locations, and to use python jPype lib to interact with java code.