Fixed New File bug

Fixed bug where creating a new file wouldn't reset the currently active
filename