Added class for handling files.
Cosmetic changes in string::buffer.