check for null or empty string before retrieving part by name
bug fixes and improvements in setting public read access for folders