Close properties file after reading it