Fix file resource in trspec test.