exception handling for incorrectly formatted properties files