Checks TODO format in given file