updates master filename code.