script to extract data from the 5 minutes cr1000 dat files