Refactor to use fileinput