(var i =0; i < pages.length;i++){
					let page = pages[i];
					newEditor(page);
				}

				if (dragIn != ""){
					//If there is a file dragin, and it hasn't been opened, open it
					dragIn.forEach(function(filepath){
						if (pages.indexOf(filepath) == -1){
							newEditor(filepath);
						}else{
							focusTab($($(".fileTab")[pages.indexOf(filepath)]).attr("tabid"));
						}
					})
				}
			}catch(ex){
				console.log("Unable to open previous files: ", ex);
			}
		
		}

		setTimeout(function(){
			