validate input file existance, remove .ini, improve output