added method for database cache file size retrieval