docs: public static List<File> listDirs(final File dir)
  	{
  		final List<File> foundedDirs = new ArrayList<>();
  		final File[] fileArray = dir.listFiles();
  		for (final File element : fileArray)
  		{
  			if (element.isDirectory())
  			{
  				foundedDirs.add(element);
  			}
  		}
  		return foundedDirs;
  
  	}