Made file loading fail-fast