add principal file