add tmpfile example.