make sure you can't delete files of required fields