generalised env accessing in FILE setting
isWin, tmpDir
added rangeImpl
BinTree