Started working on the functionality to save input file.