Fixed bug where input.txt was not getting read first