tentative finish to file parsing script