using Post::File methods plus little more cleanup