Added support for different tile file extensions