Import of plain text assets.
Some cleanup + corrections + minor refactoring.