use temporary files in parser