add tempfile pathname judge