Refactor: FileHandler takes care of reading from input file