fix(config): Check file existance synchronously.

Throw exception if the file does not exist.