More work on new OptParser
added file parsing