moving duplicated code to ImportContainer.fillData