Hey there, The following didn't work :( I now only get 44 rows of records before it breaks. I also tried setting binmode on the file as suggested. It still breaks when it meets a carriage return character. Where should i be catching my trash records?