def get_data_from_file(self, file_name):
        """Read file from azure storage.

        Args:
            file_name (str): file name to read

        Returns:
            json: Netskope data
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            state_manager_obj = StateManager(consts.CONNECTION_STRING, file_name, self.share_name)
            raw_data = state_manager_obj.get_data_bytes(consts.NETSKOPE_AZURE_STORAGE_TO_SENTINEL)
            return raw_data
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} ({}) : Error while reading netskope data from File, Error-{}.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.NETSKOPE_AZURE_STORAGE_TO_SENTINEL,
                    self.nskp_data_type_for_logging,
                    error,
                )
            )
            raise NetskopeException()
Read file from azure storage.

        Args:
            file_name (str): file name to read

        Returns:
            json: Netskope data
        
Solutions/Netskopev2/Data Connectors/NetskopeDataConnector/StorageToSentinel/netskope_azure_storage_to_sentinel.py