Added FSync : Thanks to franciscofranco