read posts from file relative directory