added wrapping for plaintext files