read extname for asset's host