fix bug with content-disposition handling

Replaced getFilename method with a generic getContentDispositionValue
method
ignore DS_store and intellij