Parsing .txt file works