Solves the broken path to ncfile problem