Remove file extension check