Just a function to read JAVA properties files.