fix variable naming in nameCallback function

changing $_filename to $newName