Add open funtion to open in sublime