added rank=0 print during file reading