Fix file loading.