Local encrypted file now gets deleted on successful upload