Fix for retrieving file  for 3 node setup. Baic testing passed for 3 node setup