Added Documents and iOS Encode