helper function for Karma to read property files easier
Read and parse properties files in karma tests.