docs: public static List<String> readLinesInList(final File input, final String encoding)
  		throws IOException
  	{
  		// The List where the lines from the File to put.
  		final List<String> output = new ArrayList<>();
  		try (BufferedReader reader = (BufferedReader)StreamExtensions.getReader(input, encoding,
  			false))
  		{
  			// the line.
  			String line = null;
  			// read all lines from the file
  			do
  			{
  				line = reader.readLine();
  				// if null break the loop
  				if (line == null)
  				{
  					break;
  				}
  				// add the line to the list
  				output.add(line);
  			}
  			while (true);
  		}
  		catch (final IOException e)
  		{
  			throw e;
  		}
  		// return the list with all lines from the file.
  		return output;
  	}