username $: perl myprog.pl 4 /path/path/path/flie.ext ##$ARGV[0] is the number of output files desired.