D'oh - define the file name before you try to load it, idiot...