Added dynamic Fsync