File Structures using C++