func CheckError(err error) {
	if err != nil {
		log.Fatal(err)
	}
}
CheckError is a helper function for handling errors
package main
import (
	"fmt"
	"io/ioutil"
	"log"
	"os"
	"os/exec"
	"path"
	"strings"
)