- Modified to return a enum value that identifies the type of hive file