Added map text file reading