make file processing an iterator, and limit previously uploaded files on publisher page to 10