The files being processed are delivered by an overall framework. I will have to see whether that framework can guarantee delivery of only one file at a time. But, in any event, we shift the filename off @ARGV and read it through a filehandle. So I can think we can meet the conditions you describe. Thanks for clarifying this.