flush h5file when new data imported