added readfilesync