FIX: check if file exists before removing