loop for names of apps in a text file