added ability to parse log4j.properties file with input stream