Refining operation of insert and test files.