title: ioutil.ReadFile - no such file or directory
body: <p>For the below code:</p>
  
  <pre><code>package main
  
  import (
      "fmt"
      "io/ioutil"
      "strings"
  )
  
  func main() {
      b, err := ioutil.ReadFile("shakespeare.txt")
  
      if err != nil {
          fmt.Print(err)
      }
  
      str := string(b)
  
      text := strings.Split(str, " ")
      fmt.Print(len(text))
  }
  </code></pre>
  
  <hr>
  
  <p>Below is the error:</p>
  
  <pre><code>code$
  code$
  code$ ls src/github.com/myhub/cs61a/
  caching  counters  expressions  gomap  lab_00  Main.go  Readme.md  shakespeare.txt
  code$ 
  code$ go run src/github.com/myhub/cs61a/Main.go 
  open shakespeare.txt: no such file or directory1code$ 
  code$ 
  code$ 
  </code></pre>
  
  <hr>
  
  <p>How to refer a text file located in same directory location of <code>Main.go</code>?</p>