In a way that I'll not feel like doing something crappy? <div>I know that I could do this is checking for the file extension and do an if/else when creating the parser. This is the way to go or there is a better way?</div>
<div><br></div><div>Thanks</div>