wait all cmd-line arguments to be processed before processing files