Added file input

Added file input, sample input files and another test case