remove duplicated files and directories