perl -pe'BEGIN { $/ = \(64*1024); } s/\0+//g' infile | line_reading_script.pl