Put this file FileSystem.aspx to any web folder. It will show content of the folder. Feel free to modify the example code.