add flag to load unfolded data