remove duplicated directories and files