refactoring justext interface, no more not needed read/write of files