Well, your core program has to be one file - but you can definately work with external files: graphics, sound, 3d objects, animations, text files, etc. And load/unload them whenever you need to.
BlitzBasic and DarkBasic can not be compared to AGS: they are far more generic, and don't work with discreet "room" files like AGS (for instance).