updated filebucketing