How to Upload all Documents into the Loop