BoxFileInputStream: code changes