prepares shared file post to share with a given entity
create shared post table
insert into shared post table
method to add entity mention
get public and get private key
extract file credentials from query
push back all posts shared by file post
serialization