Fix configuration property loading and allow to pass a properties file on the command line.