Read up until the block you want to delete, then skip that block, then read and write till EOF, then truncate the file to the new size. Not sure how to do that in windows, so I hope you are.