Call File.createTempFile in example