private void addDirToList(S3Item item, ArrayList<S3Item> fileList) {
		if (item.isDir()) {

			Collection<S3Item> children = item.getChildren(true);
			
			if (children.size() < 750) {
				for (S3Item child : children) {
					if (!child.isDir()) {
						fileList.add(child);
					}
				}
			}
			else {
				for (S3Item child : item.getChildren()) {
					if (child.isDir()) {
						addDirToList(child, fileList);
					}
					else {
						fileList.add(child);
					}
				}
			}
		}
		else {
			fileList.add(item);
		}
	}