checkFile corrections