added readdir using goroutine