Added file streaming support, defaults to only PDF files being allowed