remove duplicate subdirectory of files.