fixed bug in uploaded file list refresh
added bucket input, removed some debug code