docs: public static String getAbsolutePath(final File file, final boolean removeLastChar)
  	{
  		String absolutePath = file.getAbsolutePath();
  		if (removeLastChar)
  		{
  			absolutePath = absolutePath.substring(0, absolutePath.length() - 1);
  		}
  		return absolutePath;
  	}