Fixed notices on file remove events