Converted BitFile to a C++ class.