Update bucket.js

Rename filename to path, for consistency