load properties as a resource file instead of an absolute file path