--- /dev/null
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+use autodie;
+
+my @files = @ARGV;
+@files = glob '/tmp/isi.*-*.txt' unless @files;
+
+my $path = '/tmp/isi.full.txt';
+open(my $out_fh, '>', $path);
+print $out_fh "FN ISI Export Format\nVR 1.0\n";
+
+foreach my $file ( sort {
+ my $a_r = $1 if $a =~ m{(\d+)-\d+};
+ my $b_r = $1 if $b =~ m{(\d+)-\d+};
+ $a_r <=> $b_r;
+} @files ) {
+ warn $file;
+
+ open(my $fh, '<', $file);
+ while(<$fh>) {
+ next if m/^(FN|VR|EF)/;
+
+ print $out_fh $_;
+ }
+}
+
+print $out_fh "EF\n";
+close $out_fh;
+
+warn "# $path ", -s $path;