add txt preview