I would like to express my gratitude to
Grandfather and
Anonymous Monk for their assistance on this code.
As to my reply and whether I have a brain or being more careful, I really had good intentions. I realized that I could have made the question more verbose and was concerned that I was not being clear and thus confusing. That is why when I saw there was no filehandling in the code of
Grandfather I felt that it was my fault for not telling him exactly what I was looking for.
I do apologize and hope with my public display of penance that I will be forgiven.