check inFile