C++ class for making simple fileIO easy (without using boost)