Fixed silent exception. Close properties file. Configuration also loads from specified file