adding help function to generate a list of files