I'm guessing you want a user to be able to type in a URL like http://site.com/directory/ and have all the files inside of directory be listed, so that the user can click on one and load it.
If so (you weren't very clear), create a .htaccess file inside the directory where you want this kind of functionality and add this line to the contents of .htaccess: