update adding files
Merge branch 'origin/feature-attachments'
update file handling
add initFiles function to handle fileIds from plain and encrypted data
update _addFile
Merge branch 'origin/feature-attachments'
Merge branch 'origin/feature-attachments'