code: public static Properties readPropertiesFromFile(final String filename) throws IOException
  	{
  		final Properties properties = new Properties();
  		try (FileInputStream fis = new FileInputStream(filename))
  		{
  			properties.load(fis);
  		}
  		return properties;
  	}
docs: The Method readFromFile(String) reads from the properties-file all Properties and saves them
  into a Properties-Object.
  
  @param filename
  The Filename from the Properties-file.
  @return The Properties or null if an error occurs.
  @throws IOException
  Signals that an I/O exception has occurred.