refixed fs. readfilesync