As os.Readdir() is used get file entries where statinfo is already present. This patch fixes to use statinfo provided by os.Readdir().
As os.Readdir() is used get file entries where statinfo is already present. This patch fixes to use statinfo provided by os.Readdir().