This commit fixes the input file parsing