added db support for file upload queue