fix(entities): system files removed for all entities on delete

Fixes #7130
function has been prefixed