small changes to DBFile.cc to make the code readable. added comments and enhanced the code.