code: private Map<String,String> mapProperties(InputStream mapFileStream) throws IOException {
          OrderedProperties props = new OrderedProperties();
          props.load(mapFileStream);
          Map<String,String> map = new LinkedHashMap<String,String>();
          for (Object key : props.getOrderedMap().keySet())
              map.put(key.toString(), props.getProperty(key.toString()));
          return map;
      }
docs: Map returns