code: private List<URL> loadList(String filename)
      {
          List<URL> ret = new ArrayList<URL>();
          try
          {
              BufferedReader read = new BufferedReader(new FileReader(filename));
              String line;
              while ((line = read.readLine()) != null)
              {
                  line = line.trim();
                  if (!line.isEmpty() && !line.startsWith("#"))
                  {
                      ret.add(new URL(line));
                  }
              }
              read.close();
          } catch (FileNotFoundException e) {
              e.printStackTrace();
          } catch (IOException e) {
              e.printStackTrace();
          }
          
          return ret;
      }
docs: ===================================================================