updated runtime to exclude funky records, and to work with a different file format