Method parseSource now is working for .txt