code: private static String getFileName(String[] args)
  	{
  		String fileName = null;
  		for (int i=0; i<args.length; i++)
  		{
  			if (!args[i].startsWith("-"))
  			{
  				fileName = args[i];
  				break;
  			}
  		}
  		return fileName;
  	}
docs: parses through the parameter - params (starting with '-') are not
  allowed here - we filter them out
  @since 31.12.2010
  @param args
  @return the given filename