private String parseArgs(String args[])
   {
      String fpath = null;

      for (String arg : args)
      {
         if (arg.startsWith("-"))
         {
            // TODO: maybe add something here.
         }
         else // expect a filename.
         {
            fpath = arg;
         }
      }

      return fpath;
   }