Implement logic to load both data formats