MASSIVE CHANGES : Moved to DBFILE 

Moved from File to high level DBFile class . Check commentd for more details