import all the documents.
remove useless documents.