Adds update-file function. This function corresponds to attachments API.
Extends create-post function to enable to attach files.