Added file input and default input output files.