So you want to import textual content and preserve its formatting, as opposed to parsing it into HTML?
I suppose the <pre></pre>
tags are meant for exactly this. However I would consider spending osme effort to parse input after all, otherwise there is little merit in having it in WordPress.