Fixed FileWrite