encrypted file is uploading but have to wait until file is created on the local device