Changed to get epiceditor exportfile instead of innerHTML