read file sync package.json