Added additional examples

Added basic examples to list files in a directory and handle file
upload.