I spent the day wresting with a big file of raw data, trying to get it into a manageable format. Here’s what the problem was. You a have very large text file contraining records in the following format: