These are the 2 arguments: ARGV[0] = s/\.txt\.mex// ARGV[1] = *.txt