remove uneccessary tempfile require