add posts and a file