Currently the filename property is the raw browser stack location, which includes the browser protocol, hostname and port on some browsers but not on others. Also query parameters and hashes are included. It would be useful to normalize this across browsers as well.