attempt to read in directory entered by user and add to loop... does not work though