Updated to read content-disposition headers for dynamic files, where they exist.