analyse savves an input file