function parseBatchfile now uses file handle instead of opening the batchfile via filename
modified:   src/parseBatchfile.py