fix variable naming in nameCallback function

renaming $_filename to $newName