refactored import to denormalize txt format