Added filename to tab title & automatically change to code tab when code uploaded