use tmp file with fixed content, rather than use a static file stored in testdata