Fixed bug where I used filename from editor tab in upload tab.