Added ‘nc’ check to the file names so that we won’t try to load non
netcdf files with the same base name.