tmpfile to share