Added directory uploading to LoadingManager