Obstacle Interact and XML Read/Write