Finished PKCS7 padding and file trunkation