added functionality to show uploaded files in a dir to the user