Rather than use uri.js for this (which is a great library but probably not need just for parsing the search string) could we do:
```
EPUBJS.core.uri(window.location.href).search.replace("file=", '');
```