Add fileless constructor for texts
Remove old dependency