Added support for getting file name for HTTP