Serve file if it's a file and not a folder.

Currently it'll serve all files, but that'll change eventually.