incompatibleFileExtension replaced by invalidFileExtension.
sessionInfo moved to Utils.lua
dir and isfile moved to FileSystem.lua