Fixing exception from when optional argument wasn't passed
Adding scala code for extracting large Biopax files into an set of independent pathway files