swapped file and dir for test script