Fixing path by fs in new nodejs version
Bug fixing changing code by match property