Returns empty String for non main .hx files
Changed regex to return a errored file
Merge pull request #2 from tkawachi/develop

Better error handling