Simplify config string parser

Unused inputStream was removed.