Changes in  work with input file