added some rules for writing blogposts into txt files