forgot that .delete() only works on empty directories