added dmsfile interface, dmsmainfile portal type