require("core.os") if os.platform() == Platform.WINDOWS then require "core.platform.win.filesys" elseif os.platform() == Platform.LINUX then require "core.platform.linux.filesys" elseif os.platform() == Platform.MACOS then game.Log("MacOS platform not implemented, loading linux filesys module as fallback", game.LOGGER_WARNING) require "core.platform.linux.filesys" else game.Log("OS Platform not recognized, loading linux filesys module", game.LOGGER_WARNING) require "core.platform.linux.filesys" end