Properties file java helper