Try first to remove the file, then the dir.