Modified parsing to return the InputStream directly instead of always having a string. Opens options to parse into files, byte arrays etc..