text rendering and file import