loop test file