made sim read inFile and debug mark