Add clustering test
Add fileutil for derivation tools