Checke for input file