modified GetLatiLongi function so then it can take in any txt file