1. remove file under target directory.
2. support the update operation under non-dynamic mode.