$ 0 0 what is the proper way of only selecting certain valid extensions such as only image file types?