database base-class changes for file storage