get file contents before test invoked