merged with updated http-stdin.sh

Handled the case of a non-sh file being passed into the script. If the passed in file is a directory, check if there is an index.html file in the directory, display it. Otherwise display all the files in the passed in directory.