Have a look, not everything is done

... allow user to drag other types of file into code editor and add filtering button for other types