Fix bug in previous commit -- need to pass the filename into _newfiletable
otherwise it will get the current value of fn_to_add, not the value from
when the function was created.