How to upload/remove files on Affinity