use queue to serially upload files