Merge "Fix openAssetFile method of inserting photos."