def METHOD_NAME(self, dll_filename):
    if isOnefileMode():
        pass
    elif self.upx_binary is not None:
        self._compressFile(filename=dll_filename, use_cache=not self.upx_nocache)
    else:
        self._warnNoUpx()