adding jwb's local file support