added parser for txt file