only allow deletion for files that are unrelated