safe deletion of empty files