fix cancel

should removeFile first then abort and upload