Implemented terrain file check for TerrainService

This check will prevent a terrain without a valid terrain file from
being loaded.