Use unix "/" in checkInputFile()