edit post file