h5features files handling functions