Check files for syntax errors