removing directory with duplicate file