Make server write to local file