code: public static Map<String,String> storeDirectoryResourcesAsString( File directory ) throws IOException {
  
  		Map<String,byte[]> map = storeDirectoryResourcesAsBytes( directory );
  		Map<String,String> result = new HashMap<>( map.size());
  		for( Map.Entry<String,byte[]> entry : map.entrySet())
  			result.put( entry.getKey(), new String( entry.getValue(), StandardCharsets.UTF_8 ));
  
  		return result;
  	}
docs: Stores the resources from a directory into a map.
  @param directory an existing directory
  @return a non-null map (key = the file location, relative to the directory, value = file content)
  @throws IOException if something went wrong while reading a file