test TextFile