Check that file exists before loading.