Refactoring: the check if the file exists is a pre check to loading it.