Returning after logging if error when loading file.