LPS-45035 We could get the fileEntryTypeId from the fileEntry

cc /@sergiogonzalez