add parsing txt files directly, style changes