end of file found before the left token at 'filename(linenumber)' was matched
The compiler expected to find a matching token before it reached the end of your source file but was unable to. Check whether your open brackets (and other paired characters such as curly braces) match with close brackets.