yeah but $lines returns all lines not just ones with the extensions