Changed removeDir to removePath