{ local($/) = \$record_length; my $first_record = ; $/ = \(512*1024); while () { print newrecordfile; } }