Add folder parameter so that a callback exists

Callback for when a directory has been clicked
Add user-definable methods for opening a file and opening a folder
Define 'file' and 'folder' methods for the folderListing() call