Changed the names of variables in fileref deletion to be more explicit