Finished changing file extension check.