Make sure that if the file does not exist an Exception is thrown and that once it exists it is also closed after the properties are loaded.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>