done.. taking the input file..