add wandowsfile class for simplicity