Added file extension check in Model