Save information of uploaded files when editing post.