Finally, I'll do the map engine last.
file.write("test", 1.568);file.read("test", 5); // returns 1file.read("test", 7.2); // returns 1.568
You generally have to make sure the default value you give a read is the same type you want to read out if it exists. I ran into a couple issues with that and strings before.