Commented out try/catch block and byte array since they are causing issues.