added fileParser to parse command txts