Fix regular expression to work with standard GOPATH layout.
exit with error if cannot open file
Merge pull request #1 from jmcvetta/master

Work with standard file layout