Fix syntax detecting (close #99)

Get file's extension and check if it's present in a list of supported syntaxes.
If not, ignore the file.