fix for remove only logs empty files