Changed project to accept generic grammar files.