presto-main/src/main/java/io/prestosql/util/PropertiesUtil.java/PropertiesUtil/loadProperties
class PropertiesUtil:    public static Map<String, String> loadProperties(File file)
            throws IOException
    {
        Properties properties = new Properties();
        try (InputStream in = new FileInputStream(file)) {
            properties.load(in);
        }
        return fromProperties(properties);
    }