world file loading and saving functions, added test files