Added ability to load files and send them to websocket and ability to run external commands and send its output to websocket.