docs: public static List<File> getAllFilesFromDir(final File dir)
  	{
  		final List<File> foundedFileList = new ArrayList<>();
  		final File[] children = dir.getAbsoluteFile().listFiles();
  		if (children == null || children.length < 1)
  		{
  			return foundedFileList;
  		}
  		for (final File child : children)
  		{
  			// if the entry is not a directory
  			if (!child.isDirectory())
  			{
  				// then
  				// entry is a file
  				foundedFileList.add(child.getAbsoluteFile());
  			}
  		}
  		return foundedFileList;
  	}