Modified code for retrieving URL from property file.