pinnacle data is saved to a temp file before parsing to avoid EOF exception