def to_business(self):
        return FileSent(
            self.file_sent,
            self.file_hash,
            _splitted_utc_datetime_to_timestamp(self.timestamp_before, self.timestamp_before_micro),
            Command(self.response) if self.response is not None else NullCommand(),
            _splitted_utc_datetime_to_timestamp(self.timestamp_after, self.timestamp_after_micro),
            self.file_info
            )
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/db/model.py/DbUserFile.to_business/original