only try to serve regular files
Merge pull request #5 from vogelsgesang/add-folder-check

only try to serve regular files