more stable file loading with fallbacks if the value wasn't found