Fix loading file.