switch for new CDI file