Adding first version of doctotxt