Using basic grammar principles, we acquire parts of grammar in a given txt file.