rm file helper