Added a small inline tokenizer to deal with some issues regarding flag files (--flagfile)

The issue discussing this change is #436