Fixed tilemap reading from text files.