Add function to safely delete a file