Change directory from TrigramsGenerator class