Committing a file in windows