Set the filename on loading a new file